package com.viphuli.http.bean.part;

import com.google.gson.annotations.SerializedName;
import com.offroader.utils.DateUtils;

public class PurchasePayTicket {
	
	@SerializedName("ticket_id")
	private int ticketId;
	
	@SerializedName("ticketType")
	private int ticketType;
	
	@SerializedName("name")
	private String name;
	
	@SerializedName("cover_shown")
	private String coverShown;
	
	@SerializedName("expire_time")
	private long expireTime;
	
	@SerializedName("status")
	private int status;
	
	@SerializedName("is_valid")
	private int isValid;
	
	
	public int getStatus() {
		return status;
	}
	public String getCoverShown() {
		return coverShown;
	}
	public void setCoverShown(String coverShown) {
		this.coverShown = coverShown;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public long getExpireTime() {
		return expireTime;
	}
	public void setExpireTime(long expireTime) {
		this.expireTime = expireTime;
	}
	
	public String expireTimeDao(){
		return DateUtils.formatDay(expireTime);
	}
	public int getTicketId() {
		return ticketId;
	}
	public void setTicketId(int ticketId) {
		this.ticketId = ticketId;
	}
	public int getTicketType() {
		return ticketType;
	}
	public void setTicketType(int ticketType) {
		this.ticketType = ticketType;
	}
	public int getIsValid() {
		return isValid;
	}
	public void setIsValid(int isValid) {
		this.isValid = isValid;
	}
	
}
